package com.aaa.mapper;

import com.aaa.entity.Menu;
import com.aaa.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<Menu> listRoles(Integer id);
    List<Role> listPage(String keyword);
}
